package com.xinzhidi.web.equipment.domain.dto;

import com.xinzhidi.common.annotation.Excel;
import com.xinzhidi.common.core.page.PageQueryDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;


/**
 * 设备ListDto对象 equipment
 *
 * @author ruoyi
 * @date 2023-05-29
 */
@ApiModel(value = "设备ListDto对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class EquipmentListDto extends PageQueryDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "设备名称")
    @Excel(name = "设备名称")
    private String equipmentName;

    @ApiModelProperty(value = "设备级别（0：小区  1：楼栋  2：单元  3：住户）")
    private String equipmentLevel;

    @ApiModelProperty(value = "设备编号")
    @Excel(name = "设备编号")
    private String equipmentCode;

    @ApiModelProperty(value = "协议类型 1：户用阀门协议 2：单元阀门协议 3：室温采集器协议 4：户用热量表协议 5：单元热量表协议")
    private String protocolType;

    @ApiModelProperty(value = "设备类型")
    private String equipmentType;

    @ApiModelProperty(value = "小区id")
    private String plotId;

    @ApiModelProperty(value = "楼栋id")
    private String buildId;

    @ApiModelProperty(value = "单元id")
    private String unitId;

    @ApiModelProperty(value = "住户id")
    private String householdId;

    @ApiModelProperty(value = "设备分组id")
    private String equipmentGroupId;

    @ApiModelProperty(value = "dtu名称")
    private String dtuName;


}
